<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="leagal_aid.bean.*,java.util.*,java.io.*"%>
<%
	request.setCharacterEncoding("utf-8");
	int id = Integer.parseInt(request.getParameter("id"));
	LeagalBean leagalBean = new LeagalBean();
	if (leagalBean.doDel(id)) {
		response.setCharacterEncoding("utf-8");
		PrintWriter pout = response.getWriter();
		pout.print("<script>alert('删除成功!');window.location.href = '../team_introduce.jsp';</script>");
		pout.flush();
		pout.close();
	} else {
		response.setCharacterEncoding("utf-8");
		PrintWriter pout = response.getWriter();
		pout.print("<script>alert('不成功'); window.location.href='../tean_introduce.jsp' </script>");
		pout.flush();
		pout.close();
		//response.sendRedirect("login.html");
	}
	;
%>